package com.pvj.myaccount.room.database

import androidx.room.Database
import androidx.room.Room
import androidx.room.RoomDatabase
import com.pvj.myaccount.room.dao.CostDao
import com.pvj.myaccount.room.dao.MonthCostDao
import com.pvj.myaccount.room.entity.Cost
import com.pvj.myaccount.room.entity.MonthCost

@Database(entities = [Cost::class, MonthCost::class], version = 1)
abstract class AppDatabase : RoomDatabase() {
    abstract fun costDao(): CostDao
    abstract fun monthCostDao(): MonthCostDao
}